{include file="header.tpl.html"}

<!--<div id="divContent" class="widthContent radiusDiv shadowDiv backWhite textAlignLeft tableDiv" style="height:auto;">
	<div class="tableDiv" >
		<div class="rowTableDiv" > 
			<div class="cellTableDiv widthContent divFloat darkBlueEffect leftTopRadiusDiv rightTopRadiusDiv"  style="height: 25px;"> 
				&nbsp;
			</div>
		</div>			
	</div>	
	<div class="tableDiv mediumGreyDiv2" style="padding-top:0px;padding-bottom:0px;">
		
		<div class="rowTableDiv" > 
			<div class="cellTableDiv2 widthContent1 divFloat lightGreyDiv" > 
				<p class="pCellDiv ">Seleziona una data per i tracciati</p>
			</div>
			<div class="cellTableDiv2 widthContent2 divFloat " > 
				<p class="pCellDiv2">
					<input type="text" name="dataReport" id="dataReport" value="{$dataReport}" class="inputGeneral1 radiusInput width150" readOnly/>
					<input type="button" class="buttonCanc" onclick="CalendarClear('dataReport','','')" value="" title="Cancella Data" />&nbsp;&nbsp;
					<input type="button" class="buttonCalendar2" onclick="popupCalendar('dataReport',event,'{$maxDate}','','')" />
				</p>
			</div>
		</div>
	</div>
	
	
 
	
	<div class="tableDiv" >
		<div class="rowTableDiv" >                        
			<div class="cellTableDiv widthContent divFloat darkBlueEffect leftBottomRadiusDiv rightBottomRadiusDiv"  style="height: 0px;"> 
				&nbsp;
			</div>
		</div>			
	</div>	
</div>-->



<div class="widthContent textAlignLeft tableDiv" style="margin-top:20px;" >
	{section name=idx loop=$operatoriLoggati}
		<input type="button" value="{$operatoriLoggati[idx]}" class="buttonNew3 effectImage radiusButton shadowButton"  onclick="_submitDisable('{$operatoriLoggati[idx]}')"/> 
	{/section}
	
	&nbsp;&nbsp;
	&nbsp;&nbsp;
</div>	


<!-- 	<input type="button" value="Disattiva Dialer" class="buttonNew3 effectImage radiusButton shadowButton"  onclick="_submitSave('N')"/>--> 

</br>


{include file="funcMisc.js"}
{include file="funcSelect.js"}
{include file="funcPopup.js"}
<script type="text/javascript" src="lib_js/calendar.js"></script>

<input type="hidden" name="save" id="save" value="" />
<input type="hidden" name="diasableOp" id="diasableOp" value="" />

<script type="text/javascript">

{literal}

function _submitSave(varObj)
{
// 	popMsg.resetValueObjMsg();
	if(confirm("Sei sicuro di voler eseguire l'operazione"))
	{
		document.main.save.value = varObj;
		document.main.submit();
	}
}

function _submitDisable(varObj)
{
// 	popMsg.resetValueObjMsg();
	if(confirm("Sei sicuro di voler disabilitare l'operatore selezionato?"))
	{
		document.main.save.value = 'S';
		document.main.diasableOp.value = varObj;
		document.main.submit();
	}
}
	
	
{/literal}


</script>
 
{include file="usrObjPopupMsg.tpl.html"}
{include file="footer.tpl.html"} 
 

